/////////////////////////////////////////////////////////////////////////////
// Name:        dgtBE_MainFrame.cpp
// Purpose:     
// Author:      Aleksey Plotnikov
// Modified by: 
// Created:     10/01/2009 19:31:01
// RCS-ID:      
// Copyright:   
// Licence:     
/////////////////////////////////////////////////////////////////////////////

// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif

////@begin includes
////@end includes

#include "dgtBE_MainFrame.h"

////@begin XPM images
////@end XPM images


/*!
 * dgtBE_MainFrame type definition
 */

IMPLEMENT_DYNAMIC_CLASS( dgtBE_MainFrame, wxDialog )


/*!
 * dgtBE_MainFrame event table definition
 */

BEGIN_EVENT_TABLE( dgtBE_MainFrame, wxDialog )

////@begin dgtBE_MainFrame event table entries
////@end dgtBE_MainFrame event table entries

END_EVENT_TABLE()


/*!
 * dgtBE_MainFrame constructors
 */

dgtBE_MainFrame::dgtBE_MainFrame()
{
    Init();
}

dgtBE_MainFrame::dgtBE_MainFrame( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
    Init();
    Create(parent, id, caption, pos, size, style);
}


/*!
 * dgtBE_MainFrame creator
 */

bool dgtBE_MainFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
////@begin dgtBE_MainFrame creation
    SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
    wxDialog::Create( parent, id, caption, pos, size, style );

    CreateControls();
    if (GetSizer())
    {
        GetSizer()->SetSizeHints(this);
    }
    Centre();
////@end dgtBE_MainFrame creation
    return true;
}


/*!
 * dgtBE_MainFrame destructor
 */

dgtBE_MainFrame::~dgtBE_MainFrame()
{
////@begin dgtBE_MainFrame destruction
////@end dgtBE_MainFrame destruction
}


/*!
 * Member initialisation
 */

void dgtBE_MainFrame::Init()
{
////@begin dgtBE_MainFrame member initialisation
////@end dgtBE_MainFrame member initialisation
}


/*!
 * Control creation for dgtBE_MainFrame
 */

void dgtBE_MainFrame::CreateControls()
{    
////@begin dgtBE_MainFrame content construction
    dgtBE_MainFrame* itemDialog1 = this;

    wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL);
    itemDialog1->SetSizer(itemBoxSizer2);

    wxBoxSizer* itemBoxSizer3 = new wxBoxSizer(wxHORIZONTAL);
    itemBoxSizer2->Add(itemBoxSizer3, 1, wxGROW|wxALL, 5);

    wxTextCtrl* itemTextCtrl4 = new wxTextCtrl( itemDialog1, ID_TEXTCTRL, _T(""), wxDefaultPosition, wxSize(200, 300), wxTE_MULTILINE );
    itemBoxSizer3->Add(itemTextCtrl4, 1, wxGROW|wxALL, 5);

////@end dgtBE_MainFrame content construction
}


/*!
 * Should we show tooltips?
 */

bool dgtBE_MainFrame::ShowToolTips()
{
    return true;
}

/*!
 * Get bitmap resources
 */

wxBitmap dgtBE_MainFrame::GetBitmapResource( const wxString& name )
{
    // Bitmap retrieval
////@begin dgtBE_MainFrame bitmap retrieval
    wxUnusedVar(name);
    return wxNullBitmap;
////@end dgtBE_MainFrame bitmap retrieval
}

/*!
 * Get icon resources
 */

wxIcon dgtBE_MainFrame::GetIconResource( const wxString& name )
{
    // Icon retrieval
////@begin dgtBE_MainFrame icon retrieval
    wxUnusedVar(name);
    return wxNullIcon;
////@end dgtBE_MainFrame icon retrieval
}
